$(function(){
    var proid =window.location.search.split("=")[1]  
    console.log(proid)
    // CKEDITOR.replace("content");
    $.ajax({
        type: "get",
        url: "http://193.112.55.79:9090/api/getdiscountproduct",
        data:{productid:proid},
        dataType: "json",
        success: function (res) {
            console.log(res.result[0]);
            var gnzkxqHtml=template('gnzkxqTemp',res.result[0])
            $('.gnzkxq').html(gnzkxqHtml)
        }
    });
})